import request from '@/utils/request'

/**
 * 获取登录日志列表
 * @param {Object} params 查询参数，包含 userId, startTime, endTime, pageNum, pageSize
 * @returns {Promise}
 */
export function getLoginLogs(params) {
  return request({
    url: '/api/logs/login',
    method: 'get',
    params
  })
} 